export default ({
  groupList: [],
  getGroupList() {
    return this.groupList
  },
  addGroup(groupName) {
    this.groupList.push(groupName)
  },
  removeGroup(index) {
    this.groupList.removeGroup(index)
  },
  setGroupList(list) {
    this.groupList = list
  }
})
